package com.aracky.assess.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.aracky.common.excel.LocalDateStringConverter;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 用户绩效考核
 * </p>
 *
 * @author zzp
 * @since 2022-08-01 09:43:18
 */
@Getter
@Setter
public class KpiUserHeaderExport implements Serializable {
    @ExcelProperty(value = "考核类型")
    private String performanceType;

    @ExcelProperty(value = "考核周期")
    private String performancePeriod;

    @ExcelProperty(value = "结束填报时间",converter = LocalDateStringConverter.class)
    private LocalDate endWriteDate;

    @ExcelProperty(value = "结束评分日期",converter = LocalDateStringConverter.class)
    private LocalDate endAssessorDate;

    @ExcelProperty(value = "被考核人")
    private String userName;

    @ExcelProperty(value = "英文名")
    private String loginName;

    @ExcelProperty(value = "一级部门")
    private String oneDeptName;

    @ExcelProperty(value = "二级部门")
    private String twoDeptName;

    @ExcelProperty(value = "三级部门")
    private String threeDeptName;

    @ExcelProperty(value = "岗位名称")
    private String postName;

    @ExcelProperty(value = "入职日期",converter = LocalDateStringConverter.class)
    private LocalDate entryTime;

    @ExcelProperty(value = "考核指标")
    private String performanceIndex;

    @ExcelProperty(value = "考核标准")
    private String performanceStandard;

    @ExcelProperty(value = "评分标准")
    private String assessmentStandard;

    @ExcelProperty(value = "指标占比")
    private String performancePercent;

    @ExcelProperty(value = "数据来源/计算方式")
    private String assessmentDatasource;

    @ExcelProperty(value = "第一评分人")
    private String assessor1Name;

    @ExcelProperty(value = "第一评分内容")
    private String assessor1Remark;

    @ExcelProperty(value = "第一评分人权重")
    private Integer weightPercent1;

    @ExcelProperty(value = "第一评分合计")
    private BigDecimal assessor1Total;

    @ExcelProperty(value = "第二评分人")
    private String assessor2Name;

    @ExcelProperty(value = "第二评分内容")
    private String assessor2Remark;

    @ExcelProperty(value = "第二评分人权重")
    private Integer weightPercent2;

    @ExcelProperty(value = "第二评分合计")
    private BigDecimal assessor2Total;

    @ExcelProperty(value = "总评分")
    private BigDecimal total;

}
